<include file="Admin/Tpl/Public/nav.html"/>
<script charset="utf-8" src="__PUBLIC__/Js/kindeditor-4.1.7/kindeditor-min.js"></script>
<script charset="utf-8" src="__PUBLIC__/Js/kindeditor-4.1.7/lang/zh_CN.js"></script>
<script>
var editor;
KindEditor.ready(function(K) {
	editor = K.create('textarea[name="news_content"]', {
		resizeType : 1,
		allowPreviewEmoticons : false,
		allowImageUpload : true,
	});
});

function submitC(){
	 editor.sync();
}
</script>
<div id="main-content">
	<div class="content-box">
            <form action="__URL__/update_project" method="post" enctype="multipart/form-data">
              <input type="hidden" name="news_id" value="{$news['news_id']}"/>
              <input type="hidden" name="news_category" value="{$news['news_category']}"/>
                <fieldset>
                <table>
                <tr>
                    <td style="vertical-align:middle">项目</td>
                    <td><textarea rows="30" style="width:100%" name="news_content"/>{$news.news_content}</textarea></td>
                </tr>
                </table>
                <p>
                  <input class="button" type="submit" value="Submit" />
                </p>
                </fieldset>
                <div class="clear"></div>
              </form>
	</div>
	<div class="clear"></div>
</div>
</body>
</html>
<script type="text/javascript">
$("#mark").attr("value","{$news.news_mark}");
$("select[name=news_channel]").val("{$news.news_channel}");
function open_channel(){
	$.jBox.open("iframe:__APP__/Base/Channel/", "频道管理",600, 400, { buttons: { '关闭': true},closed: function () { window.location='__SELF__' }});
}
</script>